import { createApp } from 'vue'
import App from './App.vue'
import '@/assets/styles/variables.less' // 空文件
import 'normalize.css' // 抹平浏览器的差异
import '@/assets/styles/common.less' // 引入 公共样式文件
import { createPinia } from 'pinia'
import router from '@/router'
// import XtxSkeleton from '@/components/skeleton/index.vue'
import componentTs from '@/components/index'
import directives from '@/directives'
const app = createApp(App)
// app.component('XtxSkeleton', XtxSkeleton)
app.use(componentTs, ['a'])
app
  .use(router)
  .use(createPinia())
  .use(directives)
  .mount('#app')
